import { defineStore } from 'pinia';

interface ConfigStateModel {
  navbar: boolean;
}

const useConfigStore = defineStore('config', {
  state: (): ConfigStateModel => {
    return {
      navbar: false,
    }
  },
  actions: {
    setNavbar(visible: boolean) {
      this.navbar = visible;
    }
  }
});


export { useConfigStore, ConfigStateModel }
